﻿using System;
using Castle.ActiveRecord;
namespace Models
{	[ActiveRecord(Table ="track_Addresses")]
  public class Address: ActiveRecordBase<Address>
	{
		
		public Address()
		{
			
		}
	[PrimaryKey]
		public int Id
		{
			get;
			set;
		}
	[Property]
		public string Street
		{
			get;
			set;
		}
	[Property]
		public string City
		{
			get;
			set;
		}
	[Property]
		public string State
		{
			get;
			set;
		}
	[Property]
		public int PropertyType
		{
			get;
			set;
		}
	[Property]
		public int ZipCode
		{
			get;
			set;
		}

	[BelongsTo( "UserId" )]
	public aspnet_User aspnet_Users
	{
		get;
		set;
	}

	}
}